package com.songlanyun.modules.memberbill.entity;

import com.songlanyun.common.drive.ValueObject;
import lombok.Data;

import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.NotBlank;
import java.math.BigDecimal;

/**
 * 余额转积分
 * @author zhangqh
 */
@Data
public class BalanceToPointDTO implements ValueObject {
    private static final long serialVersionUID = -1411517575237177278L;

    @DecimalMin(value = "0.01",message = "输入的金额最小值是0.01")
    private BigDecimal value;


    /**
     * 支付密码
     */
    @NotBlank(message ="支付密码不参为空")
    private String payPassword;
}
